
SaveLoadMode = {
	Save = function ()
		local Save = cWindow:GetSaveFileName("MZR File|*.mzr||","mzr")
		if Save then
			local fullname = Save.Path..Save.FileName
			TRACE(string.format("SaveLoadMode - Saving to %s\n",fullname))
			cWindow:Save(fullname)
		end
	end,
	Load = function ()
		local Open = cWindow:GetOpenFileNames("MZR File|*.mzr||")
		if Open then
			local fullname = Open.Path..Open[1]
			TRACE(string.format("SaveLoadMode - Loading %s\n",fullname))
			cWindow:Load(fullname)
			TRACE("SaveLoadMode - Updating ComboTex\n")
			UpdateTexCombo()
		end
	end
}
